package com.cj.mobile.iabp.mvp.model.entity;

import java.util.List;

/**
 * @ProjectName: GrainFullAndroid
 * @Package: com.zqw.mobile.grainfull.mvp.model.entity
 * @ClassName: NewHomeInfo
 * @Description: 首页2.0实体类
 * @Author: WLY
 * @CreateDate: 2023/7/14 15:47
 */
public class NewHomeInfo {
    public NewHomeInfo() {
    }

    public NewHomeInfo(int deliveryNoteUnread) {
        this.deliveryNoteUnread = deliveryNoteUnread;
    }

    /**
     * 轮播图
     */
    public NewHomeInfo(List<Banner> banners) {
        this.banners = banners;
    }

    /**
     * Tab
     */
    public NewHomeInfo(HomeTab tab) {
        this.tab = tab;
    }

    // #第一梯队
    // 顶部轮播图
    private List<Banner> banners;
    // 通知公告是否轮播
    private boolean isAnnouncementRun = true;
    // 是否开启颜色高亮
    private boolean isColorHighlight = false;
    // 轮播数据
    private List<String> announcement;

    // #第二梯队
//    private List<HomeActionBarInfo> actionBarList;
    // 交货单未读数量
    private int deliveryNoteUnread;
    // 是否显示预付宝
    private boolean isShowPrepaidTreasure;
    // #第三梯队
    private HomeTab tab;

    public boolean isShowPrepaidTreasure() {
        return isShowPrepaidTreasure;
    }

    public void setShowPrepaidTreasure(boolean showPrepaidTreasure) {
        isShowPrepaidTreasure = showPrepaidTreasure;
    }

    public int getDeliveryNoteUnread() {
        return deliveryNoteUnread;
    }

    public void setDeliveryNoteUnread(int deliveryNoteUnread) {
        this.deliveryNoteUnread = deliveryNoteUnread;
    }

    public List<Banner> getBanners() {
        return banners;
    }

    public void setBanners(List<Banner> banners) {
        this.banners = banners;
    }

    public boolean isAnnouncementRun() {
        return isAnnouncementRun;
    }

    public boolean isColorHighlight() {
        return isColorHighlight;
    }

    public void setColorHighlight(boolean colorHighlight) {
        isColorHighlight = colorHighlight;
    }

    public void setAnnouncementRun(boolean announcementRun) {
        isAnnouncementRun = announcementRun;
    }

    public List<String> getAnnouncement() {
        return announcement;
    }

    public void setAnnouncement(List<String> announcement) {
        this.announcement = announcement;
    }

    public HomeTab getTab() {
        return tab;
    }

    public void setTab(HomeTab tab) {
        this.tab = tab;
    }
}
